package com.victualler.product.customer.dto;

import com.victualler.product.customer.entity.CustomerAddressDao;
import com.victualler.product.customer.entity.CustomerDao;
import com.victualler.product.customer.entity.CustomerItemDao;

import java.io.Serializable;
import java.util.List;

/**
 * @author Guoshichang
 * @since 14:53 on 2018/10/3.
 */
public class CustomerInfoDto implements Serializable {

    /**客户主信息*/
    private CustomerDao customerDao;

    /**联系信息*/
    private List<CustomerItemDao> itemDetailDaoList;

    /**地址信息*/
    private List<CustomerAddressDao> customerAddressDaoList;

    public CustomerInfoDto() {
    }

    public CustomerInfoDto(CustomerDao customerDao, List<CustomerItemDao> itemDetailDaoList, List<CustomerAddressDao> customerAddressDaoList) {
        this.customerDao = customerDao;
        this.itemDetailDaoList = itemDetailDaoList;
        this.customerAddressDaoList = customerAddressDaoList;
    }

    public CustomerDao getCustomerDao() {
        return customerDao;
    }

    public void setCustomerDao(CustomerDao customerDao) {
        this.customerDao = customerDao;
    }

    public List<CustomerItemDao> getItemDetailDaoList() {
        return itemDetailDaoList;
    }

    public void setItemDetailDaoList(List<CustomerItemDao> itemDetailDaoList) {
        this.itemDetailDaoList = itemDetailDaoList;
    }

    public List<CustomerAddressDao> getCustomerAddressDaoList() {
        return customerAddressDaoList;
    }

    public void setCustomerAddressDaoList(List<CustomerAddressDao> customerAddressDaoList) {
        this.customerAddressDaoList = customerAddressDaoList;
    }
}
